home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
cool
/
ge_cool.lha
/
GE_COOL2.1
/
Makeclassestargs.static
< prev
next >
Wrap
Text File
|
1992-06-19
|
2KB
|
101 lines
#
# Copyright (C) 1991 Texas Instruments Incorporated.
#
# Permission is granted to any individual or institution to use, copy, modify,
# and distribute this software, provided that this complete copyright and
# permission notice is maintained, intact, in all copies and supporting
# documentation.
#
# Texas Instruments Incorporated provides this software "as is" without
# express or implied warranty.
#
.SUFFIXES: .a .C .o
.C.o:
$(CC) $(CCFLAGS) $(DEFINES) $(INCLUDES) $*.C
$(LIBNAME): $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF)
$(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF): $(OBJECTS)
$(AR) $(ARFLAGS) $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF) $?
$(RANLIB) $(LIBDIR)/$(LIBPRE)$(LIBNAME)$(LIBSUF)
$(SUBDIRS): always
$(CD) $@; $(MAKE) $(TARGET)
all: $(LIBNAME)
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
allclean: clean
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
cleanalltests: cleantests
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
alldepend: depend
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
allinstall: install
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
alllink: link
@for DIR in $(SUBDIRS) ''; do\
if test $$DIR; then\
$(MAKE) TARGET=$@ $$DIR;\
fi\
done
cleantests:
always:
clean:
- $(RM) $(OBJECTS) $(BACKUPS)
depend: $(SOURCES) $(HEADERS)
$(MKDEPEND) $(DEFINES) $(INCLUDES) $(SOURCES) $(TEMPLATES)
install:
link:
@for HEADER in $(HEADERS) ''; do\
if test $$HEADER; then\
$(ECHO) " Creating symbolic link for " $$HEADER;\
$(RM) $(LINKDIR)/$$HEADER;\
$(LN) $(CURDIR)$$HEADER $(LINKDIR);\
fi\
done
@for TEMPLATE in $(TEMPLATES) ''; do\
if test $$TEMPLATE; then\
$(ECHO) " Creating symbolic link for " $$TEMPLATE;\
$(RM) $(LINKDIR)/$$TEMPLATE;\
$(LN) $(CURDIR)$$TEMPLATE $(LINKDIR);\
fi\
done